## -*- coding: utf-8 -*-
<%inherit file="/base.mak"/>
<%
    import datetime
    now = datetime.datetime.now()
%>

<b>記事編集</b>

${ h.form(h.url('diary', id=c.entry.key().id()), method='put') }
  <table>
    <tr>
      <th>タイトル</th>
      <td>${ h.text_field("title", size=60, value=c.entry.title) }</td>
    </tr>
    <tr>
      <th>内容</th>
      <td>${ h.text_area("content", size="40x10", content=c.entry.content) }</td>
    </tr>
    <tr>
      <th>表示日時</th>
      <td>${ h.text_field("pub_date", size=30, value=c.entry.pub_date) }</td>
    </tr>
    <tr>
      <th> </th>
      <td>${ h.submit(u'更新する') }</td>
    </tr>
  </table>
${ h.end_form() }
